package org.smog.core.config.web.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-15 15:16
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ErrorResponse extends AbstractResponse {

    private static final long serialVersionUID = 5818632908871841950L;


    @Override
    public String getMsg() {
        return super.getMsg() != null ? super.getMsg() : "操作失败";
    }

    @Override
    public Boolean getSuccess() {
        return Boolean.FALSE;
    }
}
